Passed
Pull Request — main (#353)
by Alejandro
41:20 queued 16:16
created

CsvJson   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0

2 Functions

Rating   Name   Duplication   Size   Complexity  
A toObject 0 1 1
A toCSV 0 1 1
1
declare module 'event-source-polyfill' {
2
  export const EventSourcePolyfill: any;
3
}
4
5
declare module 'csvjson' {
6
  export declare class CsvJson {
7
    public toObject<T>(content: string): T[];
8
    public toCSV<T>(data: T[], options: { headers: string }): string;
9
  }
10
}
11
12
declare module '*.png'
13